home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
ddj0897.zip
/
RCSC.ZIP
/
PACKAGES
/
SC22.ZIP
/
STDIO.H
< prev
Wrap
Text File
|
1988-01-25
|
879b
|
21 lines
/*
** STDIO.H -- Standard Small C Definitions.
*/
#define stdin 0 /* file descriptor for standard input file */
#define stdout 1 /* file descriptor for standard output file */
#define stderr 2 /* file descriptor for standard error file */
#define stdaux 3 /* file descriptor for standard auxiliary port */
#define stdprn 4 /* file descriptor for standard printer */
#define FILE char /* supports "FILE *fp;" declarations */
#define ERR (-2) /* return value for errors */
#define EOF (-1) /* return value for end-of-file */
#define YES 1 /* true */
#define NO 0 /* false */
#define NULL 0 /* zero */
#define CR 13 /* ASCII carriage return */
#define LF 10 /* ASCII line feed */
#define BELL 7 /* ASCII bell */
#define SPACE ' ' /* ASCII space */
#define NEWLINE LF /* Small C newline character */